package xcmg.device.dao.entity.purchase;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

public class PurchaseRequestDetailDO {
    private String billId;

    private String materialsNo;

    private String materialsDes;

    private String materialsDesEn;

    private String unit;

    private BigDecimal price;

    private BigDecimal settlementPrice;

    private BigDecimal qty;

    private BigDecimal applyTotalPrice;

    private String materialsId;

    private BigDecimal sendQty;

    private BigDecimal realQty;

    private Integer status;

    private String priceSchemeId;

    private String priceSchemeName;

    private Integer rowNo;

    private BigDecimal netPrice;

    private Date deliveryDate;

    /**
     * 是否暂估价
     */
    private Integer provisionalPrice;

    /** 送货单已通知数*/
    private BigDecimal informQty;

    /** 已生成条码数量*/
    private BigDecimal printNum;

    /** 生成条码状态 0未完成1部分完成2已完成*/
    private Integer printState;

    private String purchaseRequestOrder;

    private String supplierOrgName;

    /**
     * 库存满足数量
     */
    private BigDecimal inventoryProvideQty;

    /**
     * 代理商间调拨数量
     */
    private BigDecimal agentProvideQty;

    /**
     * 采购员处理数量
     */
    private BigDecimal buyerDealQty;


    /** 自定义零件编号*/
    private String customMaterialsNo;

    /** 备注*/
    private String remark;

    /** 采购组*/
    private String purchaseGroup;

    /** 替换零件编码*/
    private String replaceMaterialsNo;

    /** 替换零件名称*/
    private String replaceMaterialsDes;

    /**
     * 替换描述
     */
    private String replaceMaterialsNote;

    /**
     * 是否加价。0否1是
     */
    private Short isRaise;

    /**
     * 对应发运交接单已签收的数量
     */
    private BigDecimal signQty;
    /**
     * 零件全部入库时间
     * */
    private Date allInboundTime;

    private String machineModel;

    /**
     * 原零件编码
     */
    private String originalMaterialsNo;
    
    private String materialsMeasure;


    //云内保内含税销售价
    private BigDecimal ynPrice;

    @ApiModelProperty(value = "自制件公司编码(现在非自制件也有)")
    private String madeCompanyCode;
    @ApiModelProperty(value = "自制件公司名称(现在非自制件也有)")
    private String madeCompanyName;

    public String getMadeCompanyCode() {
        return madeCompanyCode;
    }

    public void setMadeCompanyCode(String madeCompanyCode) {
        this.madeCompanyCode = madeCompanyCode;
    }

    public String getMadeCompanyName() {
        return madeCompanyName;
    }

    public void setMadeCompanyName(String madeCompanyName) {
        this.madeCompanyName = madeCompanyName;
    }

    public BigDecimal getYnPrice() {
        return ynPrice;
    }

    public void setYnPrice(BigDecimal ynPrice) {
        this.ynPrice = ynPrice;
    }


    public String getOriginalMaterialsNo() {
        return originalMaterialsNo;
    }

    public void setOriginalMaterialsNo(String originalMaterialsNo) {
        this.originalMaterialsNo = originalMaterialsNo;
    }

    public Integer getProvisionalPrice() {
        return provisionalPrice;
    }

    public void setProvisionalPrice(Integer provisionalPrice) {
        this.provisionalPrice = provisionalPrice;
    }

    public Date getAllInboundTime() {
        return allInboundTime;
    }

    public void setAllInboundTime(Date allInboundTime) {
        this.allInboundTime = allInboundTime;
    }

    public BigDecimal getSignQty() {
        return signQty;
    }

    public void setSignQty(BigDecimal signQty) {
        this.signQty = signQty;
    }

    public Short getIsRaise() {
        return isRaise;
    }

    public void setIsRaise(Short isRaise) {
        this.isRaise = isRaise;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPurchaseGroup() {
        return purchaseGroup;
    }

    public void setPurchaseGroup(String purchaseGroup) {
        this.purchaseGroup = purchaseGroup;
    }

    public String getReplaceMaterialsNo() {
        return replaceMaterialsNo;
    }

    public void setReplaceMaterialsNo(String replaceMaterialsNo) {
        this.replaceMaterialsNo = replaceMaterialsNo;
    }

    public String getReplaceMaterialsDes() {
        return replaceMaterialsDes;
    }

    public void setReplaceMaterialsDes(String replaceMaterialsDes) {
        this.replaceMaterialsDes = replaceMaterialsDes;
    }

    public String getCustomMaterialsNo() {
        return customMaterialsNo;
    }

    public void setCustomMaterialsNo(String customMaterialsNo) {
        this.customMaterialsNo = customMaterialsNo;
    }

    public BigDecimal getInventoryProvideQty() {
        return inventoryProvideQty;
    }

    public void setInventoryProvideQty(BigDecimal inventoryProvideQty) {
        this.inventoryProvideQty = inventoryProvideQty;
    }

    public BigDecimal getAgentProvideQty() {
        return agentProvideQty;
    }

    public void setAgentProvideQty(BigDecimal agentProvideQty) {
        this.agentProvideQty = agentProvideQty;
    }

    public BigDecimal getBuyerDealQty() {
        return buyerDealQty;
    }

    public void setBuyerDealQty(BigDecimal buyerDealQty) {
        this.buyerDealQty = buyerDealQty;
    }

    public String getBillId() {
        return billId;
    }

    public void setBillId(String billId) {
        this.billId = billId == null ? null : billId.trim();
    }

    public String getMaterialsNo() {
        return materialsNo;
    }

    public void setMaterialsNo(String materialsNo) {
        this.materialsNo = materialsNo == null ? null : materialsNo.trim();
    }

    public String getMaterialsDes() {
        return materialsDes;
    }

    public void setMaterialsDes(String materialsDes) {
        this.materialsDes = materialsDes == null ? null : materialsDes.trim();
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit == null ? null : unit.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getSettlementPrice() {
        return settlementPrice;
    }

    public void setSettlementPrice(BigDecimal settlementPrice) {
        this.settlementPrice = settlementPrice;
    }

    public BigDecimal getQty() {
        return qty;
    }

    public void setQty(BigDecimal qty) {
        this.qty = qty;
    }

    public BigDecimal getApplyTotalPrice() {
        return applyTotalPrice;
    }

    public void setApplyTotalPrice(BigDecimal applyTotalPrice) {
        this.applyTotalPrice = applyTotalPrice;
    }

    public String getMaterialsId() {
        return materialsId;
    }

    public void setMaterialsId(String materialsId) {
        this.materialsId = materialsId;
    }

    public BigDecimal getSendQty() {
        return sendQty;
    }

    public void setSendQty(BigDecimal sendQty) {
        this.sendQty = sendQty;
    }

    public BigDecimal getRealQty() {
        return realQty;
    }

    public void setRealQty(BigDecimal realQty) {
        this.realQty = realQty;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getPriceSchemeId() {
        return priceSchemeId;
    }

    public void setPriceSchemeId(String priceSchemeId) {
        this.priceSchemeId = priceSchemeId;
    }

    public String getPriceSchemeName() {
        return priceSchemeName;
    }

    public void setPriceSchemeName(String priceSchemeName) {
        this.priceSchemeName = priceSchemeName;
    }

    public Integer getRowNo() {
        return rowNo;
    }

    public void setRowNo(Integer rowNo) {
        this.rowNo = rowNo;
    }

    public BigDecimal getNetPrice() {
        return netPrice;
    }

    public void setNetPrice(BigDecimal netPrice) {
        this.netPrice = netPrice;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    private Integer crucialDevice;

    public Integer getCrucialDevice() {
        return crucialDevice;
    }

    public void setCrucialDevice(Integer crucialDevice) {
        this.crucialDevice = crucialDevice;
    }

    public BigDecimal getInformQty() {
        return informQty;
    }

    public void setInformQty(BigDecimal informQty) {
        this.informQty = informQty;
    }

    public BigDecimal getPrintNum() {
        return printNum;
    }

    public void setPrintNum(BigDecimal printNum) {
        this.printNum = printNum;
    }

    public Integer getPrintState() {
        return printState;
    }

    public void setPrintState(Integer printState) {
        this.printState = printState;
    }

    public String getPurchaseRequestOrder() {
        return purchaseRequestOrder;
    }

    public void setPurchaseRequestOrder(String purchaseRequestOrder) {
        this.purchaseRequestOrder = purchaseRequestOrder;
    }

    public String getSupplierOrgName() {
        return supplierOrgName;
    }

    public void setSupplierOrgName(String supplierOrgName) {
        this.supplierOrgName = supplierOrgName;
    }

    public String getReplaceMaterialsNote() {
        return replaceMaterialsNote;
    }

    public void setReplaceMaterialsNote(String replaceMaterialsNote) {
        this.replaceMaterialsNote = replaceMaterialsNote;
    }

    public String getMachineModel() {
        return machineModel;
    }

    public void setMachineModel(String machineModel) {
        this.machineModel = machineModel;
    }

    public String getMaterialsDesEn() {
        return materialsDesEn;
    }

    public void setMaterialsDesEn(String materialsDesEn) {
        this.materialsDesEn = materialsDesEn;
    }

	public String getMaterialsMeasure() {
		return materialsMeasure;
	}

	public void setMaterialsMeasure(String materialsMeasure) {
		this.materialsMeasure = materialsMeasure;
	}
    
}
